//
//  NController.swift
//  soapp_Example
//
//  Created by zhuxietong on 2019/8/9.
//  Copyright © 2019 CocoaPods. All rights reserved.
//

import Foundation
class NController: UIViewController {
   
    required public init()
    {
        super.init(nibName: nil, bundle: nil)
    }

    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.top_style = .red_deep
        title = "Hello world"
        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "hello", style: .done, target: self, action: nil)
        
    }
    
//    override func viewDidAppear(_ animated: Bool) {
//        super.viewDidAppear(animated)
//        navigationController?.navigationBar.barTintColor = .brown
//        navigationController?.navigationBar.tintColor = .green
//        
//    }
    
    
}
